package com.sczmgk.hotline.constant;

/**
 * Created by Administrator on 2017/3/9.
 */

public class Constant {

    public static final String APP_ID = "wx8778351288963703";

    /**
     * 服务器公钥
     */
    public static final String SERVICE_PUBLIC_KEY = "8D219C38AD1407F46C12H8I1";
    public static final String IS_FIRST_IN = "is_first_in";
    public static final long DELAY_TIME = 1000 * 60 * 2;
    /**
     * 是否断开网络
     */
    public static final String IS_DISCONNECTION_NETWORK = "is_disconnection_network";

    public static String url_249 = "http://192.168.0.249:8080/api/appapi/";
    public static String url_181 = "http://192.168.0.181:8081/api/appapi/";
    public static String url_187 = "http://192.168.0.187/api/appapi/";
    public static String url_cloud = "http://www.joygov.com:8077/api/appapi/";


    /**
     * 云端url
     */
//    public static String BASE_URL = "http://www.joygov.com:8077/api/appapi/";

//    public static String BASE_URL = "http://192.168.0.249:8080/api/appapi/";
//    public static String BASE_URL = "http://192.168.0.181:8081/api/appapi/";
    public static String BASE_URL = "http://192.168.0.3:8080/HotLineDemo/";

    /**
     * 获取密钥
     */
    public static final String POST_SESSIONKEYS_URL = "getSessionKey";

    ///////////////////////////////////搜索传递数据////////////////////////////////////////////
    /**
     * 是否已登录
     */
    public static final String IS_LOGIN_KEY = "islogin";

    /**
     * 区域码
     */
    public static final String AREA_CODE_KEY = "area_code_key";

    /**
     * 登录用户UID
     */
    public static final String LOGIN_UID = "loginUid";

    /////////////////////////////环信//////////////////////////////////
    /**
     * 获取环信帐号
     */
    public static final String GET_HX_ACCOUNT = "sessionmsg/gethxusers";

    /**
     * 取得小i答案
     **/
    public static final String GET_XIAOI_ANSWER = "sessionmsg/getxiaoimessage";

    /**
     * 删除消息
     */
    public static final String DELETE_CHAT_MSG_URL = "sessionmsg/deletemsg";

    ///////////////////////智能问答/////////////////////////////////

    /**
     * 添加消息
     */
//    public static final String POST_UPDATE_CHAT_MSGS_URL = "sessionmsg/addmessage";
    public static final String POST_UPDATE_CHAT_MSGS_URL = "saveChatMsg.chat";

    /**
     * 取聊天消息
     */
//    public static final String GET_CHATLIST = "sessionmsg/getmessagelist";
    public static final String GET_CHATLIST = "getChatMsg.chat";

    /////////////////////////语音////////////////////////////
    public static final String MSC_APPID = "5695f41e";//公司的帐号

    /**
     * 真实姓名
     */
    public static final String KEY_RAEL_NAME = "key_rael_name";



    ////////////////////////////////访问数据/////////////////////////////////////////

    /**
     * 获取app版本
     */
    public static final String GET_APP_VERSION = "checkVersion";

    /**
     * 获取文章列表指示器标题的url
     */
    public static final String ARTICLE_INDICATOR_TITLE_URL = "getArticleTitle" ;

    /**
     * 文章列表的url
     */
    public static final String ARTICLE_LIST_URL = "getArticle";


}
